package cn.ccew.common.utils;

import java.util.ArrayList;
import java.util.List;

/**
 * 行业类别
 * 
 * @author lxj
 * 
 */
public class IndustryUtils {
	// 行业
	public static List<MyHashMap> list = new ArrayList<MyHashMap>();
	// 公司性质
	public static List<MyHashMap> Naturelist = new ArrayList<MyHashMap>();
	static {
		list.add(new MyHashMap("idt1", "计算机软件"));
		list.add(new MyHashMap("idt2", "计算机硬件"));
		list.add(new MyHashMap("idt3", "计算机服务(系统、数据、维修)"));
		list.add(new MyHashMap("idt4", "通信/电信/网络设备"));
		list.add(new MyHashMap("idt5", "通信/电信运营、增值服务"));
		list.add(new MyHashMap("idt6", "互联网/电子商务"));
		list.add(new MyHashMap("idt7", "网络游戏"));
		list.add(new MyHashMap("idt8", "电子技术/半导体/集成电路"));
		list.add(new MyHashMap("idt9", "仪器仪表/工业自动化"));
		list.add(new MyHashMap("idt10", "会计/审计"));
		list.add(new MyHashMap("idt11", "金融/投资/证券"));
		list.add(new MyHashMap("idt12", "银行"));
		list.add(new MyHashMap("idt13", "保险"));
		list.add(new MyHashMap("idt14", "贸易/进出口"));
		list.add(new MyHashMap("idt15", "批发/零售"));
		list.add(new MyHashMap("idt16", "快速消费品(食品,饮料,化妆品)"));
		list.add(new MyHashMap("idt17", "服装/纺织/皮革"));
		list.add(new MyHashMap("idt18", "家具/家电/工艺品/玩具"));
		list.add(new MyHashMap("idt19", "办公用品及设备"));
		list.add(new MyHashMap("idt20", "机械/设备/重工"));
		list.add(new MyHashMap("idt21", "汽车及零配件"));
		list.add(new MyHashMap("idt22", "制药/生物工程"));
		list.add(new MyHashMap("idt23", "医疗/护理/保健/卫生"));
		list.add(new MyHashMap("idt24", "医疗设备/器械"));
		list.add(new MyHashMap("idt25", "广告"));
		list.add(new MyHashMap("idt26", "公关/市场推广/会展"));
		list.add(new MyHashMap("idt27", "影视/媒体/艺术"));
		list.add(new MyHashMap("idt28", "文字媒体/出版"));
		list.add(new MyHashMap("idt29", "印刷/包装/造纸"));
		list.add(new MyHashMap("idt30", "房地产开发"));
		list.add(new MyHashMap("idt31", "建筑与工程"));
		list.add(new MyHashMap("idt32", "家居/室内设计/装潢"));
		list.add(new MyHashMap("idt33", "物业管理/商业中心"));
		list.add(new MyHashMap("idt34", "中介服务"));
		list.add(new MyHashMap("idt35", "专业服务(咨询，人力资源)"));
		list.add(new MyHashMap("idt36", "检测，认证"));
		list.add(new MyHashMap("idt37", "法律"));
		list.add(new MyHashMap("idt38", "教育/培训"));
		list.add(new MyHashMap("idt39", "学术/科研"));
		list.add(new MyHashMap("idt40", "餐饮业"));
		list.add(new MyHashMap("idt41", "酒店/旅游"));
		list.add(new MyHashMap("idt42", "娱乐/休闲/体育"));
		list.add(new MyHashMap("idt43", "美容/保健"));
		list.add(new MyHashMap("idt44", "生活服务"));
		list.add(new MyHashMap("idt45", "交通/运输/物流"));
		list.add(new MyHashMap("idt46", "航天/航空"));
		list.add(new MyHashMap("idt47", "石油/化工/矿产/地质"));
		list.add(new MyHashMap("idt48", "采掘业/冶炼"));
		list.add(new MyHashMap("idt49", "电力/水利"));
		list.add(new MyHashMap("idt50", "原材料和加工"));
		list.add(new MyHashMap("idt51", "政府"));
		list.add(new MyHashMap("idt52", "非盈利机构"));
		list.add(new MyHashMap("idt53", "环保"));
		list.add(new MyHashMap("idt54", "农业/渔业/林业"));
		list.add(new MyHashMap("idt55", "多元化业务集团公司"));
		list.add(new MyHashMap("idt57", "生产/质管/技工"));
		list.add(new MyHashMap("idt58", "销售/市场/客服/贸易"));
		list.add(new MyHashMap("idt59", "制造/工厂"));
		list.add(new MyHashMap("idt56", "其他行业"));

		Naturelist.add(new MyHashMap("nature11", "国有企业"));
		Naturelist.add(new MyHashMap("nature12", "外资企业"));
		Naturelist.add(new MyHashMap("nature13", "合资企业"));
		Naturelist.add(new MyHashMap("nature14", "私营企业"));
		Naturelist.add(new MyHashMap("nature15", "民营企业"));
		Naturelist.add(new MyHashMap("nature16", "股份制企业"));
		Naturelist.add(new MyHashMap("nature17", "外企代表处"));
		Naturelist.add(new MyHashMap("nature18", "集体企业"));
		Naturelist.add(new MyHashMap("nature19", "集体事业"));
		Naturelist.add(new MyHashMap("nature20", "乡镇企业"));
		Naturelist.add(new MyHashMap("nature21", "行政机关"));
		Naturelist.add(new MyHashMap("nature22", "社会团体"));
		Naturelist.add(new MyHashMap("nature23", "事业单位"));
		Naturelist.add(new MyHashMap("nature24", "行政机关"));
		Naturelist.add(new MyHashMap("nature25", "跨国公司(集团)"));
		Naturelist.add(new MyHashMap("nature26", "其他"));
	}

	public static String getValueBykey(String key) {
		for (MyHashMap map : list) {
			if (map.getKey().equals(key)) {
				return map.getInfovalue();
			}
		}
		return "其他";
	}

	public static void main(String[] args) {
		System.out.println(getValueBykey("idt45"));
	}

}
